EXAMPLE SOURCE CODES


     This is a small collection of mostly game example source codes. These source codes are made available to help PlayBasic programmers kick start their game programming journey. Looking for more source code / tutorials & media, then remember to visit the PlayBasic Resource board on our forums.

Found #4 items in Shapes category by Kevin Picone

 Hal Teach me to code - Morphing Shapes

By: Kevin Picone Added: May 14th, 2022

Category: All,learn To Code,Shapes

     This tiny source code snippet uses PlayBasic's shapes to draw batches of line fragments. The fragments are all connected in a circle were each vertex is waving and rotating. On their own the effect is really simple; but when you overlay (rotate and scale) a bunch of them on top of each other it creates a sort of button effect similar to the robotic voice in the classic science function movie 2001 A Space Odyssey. Excuse my poor impressions of Hal in this video.. It's just for laughs


Video:


Download: Login to Download




 Exploding Shapes

By: Kevin Picone Added: October 30th, 2009

Category: All,Shapes,Effects


    An example that shows how a explode a wire frame shape Asteroids style


Download: Login to Download




 Shape Tunnel

By: Kevin Picone Added: July 25th, 2008

Category: All,Effects,Shapes


Renders perspective tunnel effect using the drawshape commands line mode.
Download: Login to Download




 Partition Shape Collision

By: Kevin Picone Added: April 2nd, 2006

Category: All,Collision,Shapes

    This example is basically an asteroids frame work. While it doesn't play a full game of asteroids, it's set up to demonstrate a method of partitioning the games world space to help eliminate unnecessary collision checks. In this case shape intersections.

Download: Login to Download




Viewing Page [1] of [1]



Want More Source Codes?:



Release Type: The source code & tutorials found on this site are released as license ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial / source code or media files) from this site, without explicit written permission.

 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]